<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Import Namespace="RelationalLinqToSql.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Iranian Historical Places
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Provinces</h2>
    <div>
        <ul>
            <%foreach (Province province
                  in this.ViewData["Provinces"] as IEnumerable<Province>)
              {%>
            <li>
                <%= Html.ActionLink(province.Name, "Province",
                    "Places", new { id = province.ID }, null)%></li>
            <%}%>
        </ul>
    </div>
</asp:Content>
